package com.product.system.service;

import com.github.pagehelper.PageInfo;

import com.product.system.domain.Condition;
import com.product.system.domain.LoginName;
import com.product.system.domain.User;
import com.product.system.domain.UserBarChart;

import java.util.List;

public interface UserService {

//    List<User> listUser(User user);//Condition condition,

    void addUser(User user);

    void updateUser(User user);


    User loginOrName(LoginName loginName);

    int byUserId(Integer id);

    List<User> getExcelUser();

    List<User> listAll();

    List<UserBarChart> barChartList();

    List<User> getList();
}
